package com.internetCafes.spms.common.module.excel.po;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @author LinYe
 * @date 2020/12/17
 **/
@Data
public class EntCertiHonorExcel {

    private  static final long serialVersionUID = 1L;

    @Excel(name = "证书名称", orderNum = "0", width=15, needMerge = true)
    private String name;

    @Excel(name = "证书级别", orderNum = "1",replace = {"1_国家级", "2_省级","3_市级","4_其他"}, width=15, needMerge = true)
    private Integer level;

    @Excel(name = "证书编号", orderNum = "2", width=15, needMerge = true)
    private String code;

    @Excel(name = "发证日期", orderNum = "3", exportFormat = "yyyy.MM.dd",  width=18, needMerge = true)
    private Date releaseDate;

    @Excel(name = "到期日期", orderNum = "4", exportFormat = "yyyy.MM.dd",  width=18, needMerge = true)
    private Date expireDate;

    @Excel(name = "发证机构", orderNum = "5", width=15, needMerge = true)
    private String releaseOrgan;

    @Excel(name = "备注", orderNum = "6", width=15, needMerge = true)
    private String remark;

}
